package com.sf.fy.uav.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 产品类型表
 * </p>
 *
 * @author LTQ
 * @since 2024-11-26
 */
@TableName("product_type")
@ApiModel(value = "ProductType对象", description = "产品类型表")
public class ProductType implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty("产品类型名称")
    private String name;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    private Byte enable;

    @ApiModelProperty("产品类型,0同城1跨城、2专机达")
    private Byte productType;

    @ApiModelProperty("排序")
    private Integer sort;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Byte getEnable() {
        return enable;
    }

    public void setEnable(Byte enable) {
        this.enable = enable;
    }

    public Byte getProductType() {
        return productType;
    }

    public void setProductType(Byte productType) {
        this.productType = productType;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    @Override
    public String toString() {
        return "ProductType{" +
            "id = " + id +
            ", name = " + name +
            ", updateTime = " + updateTime +
            ", createTime = " + createTime +
            ", enable = " + enable +
            ", productType = " + productType +
            ", sort = " + sort +
        "}";
    }
}
